import Vue from 'vue'
import Router from 'vue-router'
import {routers} from './routes.js'
// // 路由配置
 const RouterConfig = {
  // mode: 'history',
  routes: routers
 }
console.log(routers)
Vue.use(Router)
export default new Router(RouterConfig)
//  {
//   routes: [
//     { 
//       path: '/',
//       name: 'play',
//       component: main
//     },   
//   ]
// }